/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package application.service;

import application.dao.BlacklistDao;
import application.model.Blacklist;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author aa6345
 */
@Service("blacklistService")
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public class BlacklistServiceImpl implements BlacklistService {

    @Autowired
    private BlacklistDao blacklistDao;

    public BlacklistServiceImpl() {
    }

    public List<Blacklist> listAllBlacklistTerms() {

        return blacklistDao.listAllBlacklistTerms();
    }
}
